package com.dtwave.wechat.service.provider.service;

import com.baomidou.mybatisplus.service.IService;
import com.dtwave.wechat.service.provider.database.entity.BasNotifyEntity;
import com.dtwave.wechat.service.provider.dto.NotifyDto;

import java.util.List;
import java.util.Map;

/**
 * @Auther: liuwenxiang
 * @Date: 2019/2/26 11:28
 * @Description:
 */
public interface INotifyService extends IService<BasNotifyEntity> {

    List<Map<String, Object>> getNotifyList(String userId,String type);

    List<Map<String, Object>> getReceiveNotifyList(String userId, String type);

    boolean setReadFlag(Integer notifyId,String userId);

    List<Map<String, Object>>  getReceiverList(Integer notifyId);

    Map<String, Object> notifyDetail(Integer notifyId);

    boolean notifyCheck(Integer notifyId,String userId);

    boolean notifyPublish(NotifyDto notifyDto);

    String uploadFile() ;
}
